package com.njbw.design_pattern.struct.bridge2.abstractor;

/**
 * 非常紧急通知类——扩展抽象化角色
 */
public class CriticalNotification extends Notification {

    public CriticalNotification(MessageSender messageSender) {
        super(messageSender);
    }

    @Override
    public void notify(String message) {
        messageSender.send("非常紧急通知: " + message);
    }
}
